package com.hnas.appLogin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.hnas.appLogin.dao.AppSysLogDao;
import com.hnas.appLogin.orm.AppSysLog;
import com.hnas.appLogin.service.AppSysLogService;

@Component("appSysLogService")
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
public class AppSysLogServiceImpl implements AppSysLogService{
	
	@Autowired
	private AppSysLogDao appSysLogDao;

	@Override
	public void save(AppSysLog appSysLog) {
		appSysLogDao.persist(appSysLog);
	}

}
